package com.share.shareplatform.sharereward.service;

import com.share.shareplatform.pojo.Provide;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProvideService {
    Long addOne(Provide provide);

    Integer updateBaseOne(Provide provide);

    Integer deleteAllByIds(List<Long> ids);

    Provide findOneById(Long id);
    List<Provide> findPage(Integer pageIndex,Integer pageSize);//分页查询

    List<Provide> findAllByIds(List<Long> ids);
    List<Provide> findAllByUserId(Long id);
    List<Provide> findAllByRewardId(Long id);
}
